<html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script>
        var a = new Array(2);
        a[0] = 1
        a[1] = 78
    </script>
</head>

<body>
<div id="div"></div>
<script>
    document.write(a[0] + a[1])
</script>
</body>
</html>